<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!--
   /******************************************************************************
     Copyright:: 2020- IBM, Inc

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
  *****************************************************************************/
-->

<html lang="en" id="id-32">

<head id="id-29">
    <title id="id-36">The WAI ARIA role should meet the implicit ARIA semantic restriction(s) for the element</title>
    <link id="id-38" href="google.com" rel="test">
    </link>
    <base id="id-8">
    </base>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
</head>

<body id="id-9" aria-atomic="true">
    <div id="id-20" role="region" aria-label="Realtime message log">
        <a class="offleft" href="#maincontent">Skip to main content</a>
        <a name="maincontent"></a>
        <map id="map_El" name="imagemap">
            <area role="img" id="area_El" shape="rect" onclick="window.location='welcome.html'"
                onkeypress="window.location='welcome.html'" coords="0,0,82,126" alt="submit">
            <area role="img" id="area_El2" shape="rect" href='welcome.html' coords="0,0,82,126" alt="submit">
            <area role="link" id="area_El3" shape="rect" onclick="window.location='welcome.html'"
                onkeypress="window.location='welcome.html'" coords="0,0,82,126" alt="submit">
            <area role="link" id="area_El4" shape="rect" href='welcome.html' coords="0,0,82,126" alt="submit">
        </map>
    </div>
    <script type="text/javascript">
        UnitTest = {
            ruleIds: ["aria_semantics_role", "aria_semantics_attribute"],
            results: [
                {
                    "ruleId": "aria_semantics_attribute",
                    "value": [
                        "INFORMATION",
                        "PASS"
                    ],
                    "path": {
                        "dom": "/html[1]/body[1]",
                        "aria": "/document[1]"
                    },
                    "reasonId": "Pass_0",
                    "message": "Rule Passed",
                    "messageArgs": [
                        "aria-atomic",
                        "body",
                        "document"
                    ],
                    "apiArgs": [],
                    "category": "Accessibility"
                },
                {
                    "ruleId": "aria_semantics_role",
                    "value": [
                        "INFORMATION",
                        "PASS"
                    ],
                    "path": {
                        "dom": "/html[1]/body[1]/div[1]",
                        "aria": "/document[1]/region[1]"
                    },
                    "reasonId": "Pass_0",
                    "message": "Rule Passed",
                    "messageArgs": [
                        "region",
                        "div"
                    ],
                    "apiArgs": [],
                    "category": "Accessibility"
                },
                {
                    "ruleId": "aria_semantics_attribute",
                    "value": [
                        "INFORMATION",
                        "PASS"
                    ],
                    "path": {
                        "dom": "/html[1]/body[1]/div[1]",
                        "aria": "/document[1]/region[1]"
                    },
                    "reasonId": "Pass_0",
                    "message": "Rule Passed",
                    "messageArgs": [
                        "aria-label",
                        "div",
                        "region"
                    ],
                    "apiArgs": [],
                    "category": "Accessibility"
                },
                {
                    "ruleId": "aria_semantics_role",
                    "value": [
                        "INFORMATION",
                        "FAIL"
                    ],
                    "path": {
                        "dom": "/html[1]/body[1]/div[1]/map[1]/area[1]",
                        "aria": "/document[1]/region[1]/img[1]"
                    },
                    "reasonId": "Fail_1",
                    "message": "The WAI-ARIA role 'img' is not valid for the element <area>",
                    "messageArgs": [
                        "img",
                        "area"
                    ],
                    "apiArgs": [],
                    "category": "Accessibility"
                },
                {
                    "ruleId": "aria_semantics_role",
                    "value": [
                        "INFORMATION",
                        "FAIL"
                    ],
                    "path": {
                        "dom": "/html[1]/body[1]/div[1]/map[1]/area[2]",
                        "aria": "/document[1]/region[1]/img[2]"
                    },
                    "reasonId": "Fail_1",
                    "message": "The WAI-ARIA role 'img' is not valid for the element <area>",
                    "messageArgs": [
                        "img",
                        "area"
                    ],
                    "apiArgs": [],
                    "category": "Accessibility"
                },
                {
                    "ruleId": "aria_semantics_role",
                    "value": [
                        "INFORMATION",
                        "FAIL"
                    ],
                    "path": {
                        "dom": "/html[1]/body[1]/div[1]/map[1]/area[3]",
                        "aria": "/document[1]/region[1]/link[2]"
                    },
                    "reasonId": "Fail_1",
                    "message": "The WAI-ARIA role 'link' is not valid for the element <area>",
                    "messageArgs": [
                        "link",
                        "area"
                    ],
                    "apiArgs": [],
                    "category": "Accessibility"
                },
                {
                    "ruleId": "aria_semantics_role",
                    "value": [
                        "INFORMATION",
                        "PASS"
                    ],
                    "path": {
                        "dom": "/html[1]/body[1]/div[1]/map[1]/area[4]",
                        "aria": "/document[1]/region[1]/link[3]"
                    },
                    "reasonId": "Pass_0",
                    "message": "Rule Passed",
                    "messageArgs": [
                        "link",
                        "area"
                    ],
                    "apiArgs": [],
                    "category": "Accessibility"
                }
            ]
        }
    </script>
</body>

</html>